<template>
	<view class="">
		<w-navbar title="我是导航" v-model:iconLeft="params.iconLeft" />
		bag压矿撒
	</view>
</template>

<script setup>
import { getCurrentInstance, reactive, ref, watch } from 'vue';
import { onLoad } from '@dcloudio/uni-app';
const { proxy } = getCurrentInstance();

let params = reactive({ password: 'sacsacas', iconLeft: true });
let goBack = () => {
	console.log('我是自己跳转');
	proxy.$pageJump.navigateTo('/pages/index/index')
};

onLoad(f => {
	console.log(f, '传过来的值')
})
</script>

<style scoped module lang="scss">
.active {
	color: red;
}
</style>
